<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div align="center">
    <h2>学生列表</h2>
    <table border="1" cellspacing="0" width="60%">
        <tr align="center">
            <th>ID</th>
            <th>学生名</th>
            <th>入学时间</th>
            <th>学习的课程</th>
            <th>学习次数</th>
            <th>重修次数</th>
            <th>操作</th>
        </tr>
        <tr th:each="s:${list}" align="center">
            <td th:text="${s.id}"></td>
            <td th:text="${s.name}"></td>
            <td th:text="${#dates.format(s.cometime,'yyyy-MM-dd')}"></td>
            <td th:text="${p.department}"></td>
            <td>
                <a href="">删除</a>
            </td>
        </tr>
    </table>
    <p>
        <a th:href="@{/person/toSave}">添加人员</a>
    </p>
</div>
</body>
</html>